package dk.javacode.srsm.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import dk.javacode.srsm.converters.DefaultJdbcDataConverter;
import dk.javacode.srsm.converters.JdbcDataConverter;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Column {
	public String name();
	public boolean primaryKey() default false;
	public boolean nullable() default true;
	public String columnReference() default "";
	public Class<? extends JdbcDataConverter<?>> dataConverter() default DefaultJdbcDataConverter.class;
}
